Optimal. Leaf size=22 \[ -\frac {1}{2 b d (a+b \tan (c+d x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 30, normalized size of antiderivative = 1.36, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3088, 37} \[ -\frac {\cot ^2(c+d x)}{2 b d (a \cot (c+d x)+b)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 3088
Rubi steps
\begin {align*} \int \frac {\cos (c+d x)}{(a \cos (c+d x)+b \sin (c+d x))^3} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {x}{(b+a x)^3} \, dx,x,\cot (c+d x)\right )}{d}\\ &=-\frac {\cot ^2(c+d x)}{2 b d (b+a \cot (c+d x))^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.12, size = 57, normalized size = 2.59 \[ \frac {a \sin (2 (c+d x))-b \cos (2 (c+d x))}{2 d \left (a^2+b^2\right ) (a \cos (c+d x)+b \sin (c+d x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.53, size = 142, normalized size = 6.45 \[ -\frac {4 \, a^{2} b \cos \left (d x + c\right )^{2} - a^{2} b + b^{3} - 2 \, {\left (a^{3} - a b^{2}\right )} \cos \left (d x + c\right ) \sin \left (d x + c\right )}{2 \, {\left ({\left (a^{6} + a^{4} b^{2} - a^{2} b^{4} - b^{6}\right )} d \cos \left (d x + c\right )^{2} + 2 \, {\left (a^{5} b + 2 \, a^{3} b^{3} + a b^{5}\right )} d \cos \left (d x + c\right ) \sin \left (d x + c\right ) + {\left (a^{4} b^{2} + 2 \, a^{2} b^{4} + b^{6}\right )} d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.44, size = 20, normalized size = 0.91 \[ -\frac {1}{2 \, {\left (b \tan \left (d x + c\right ) + a\right )}^{2} b d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.23, size = 21, normalized size = 0.95 \[ -\frac {1}{2 b d \left (a +b \tan \left (d x +c \right )\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 171, normalized size = 7.77 \[ \frac {2 \, {\left (\frac {a \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + \frac {b \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} - \frac {a \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}}\right )}}{{\left (a^{4} + \frac {4 \, a^{3} b \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {4 \, a^{3} b \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {a^{4} \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} - \frac {2 \, {\left (a^{4} - 2 \, a^{2} b^{2}\right )} \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}}\right )} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.61, size = 85, normalized size = 3.86 \[ -\frac {b\,\left (\frac {\cos \left (2\,c+2\,d\,x\right )}{2}-\frac {1}{2}\right )-a\,\sin \left (2\,c+2\,d\,x\right )}{a^2\,d\,\left (a^2+b^2+a^2\,\cos \left (2\,c+2\,d\,x\right )-b^2\,\cos \left (2\,c+2\,d\,x\right )+2\,a\,b\,\sin \left (2\,c+2\,d\,x\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________